package bf.util;
import java.io.UnsupportedEncodingException;


public class StaticBF {
	public static byte[] cell = new byte[65536];
	public static int pointer = 0;
	
	public static void main(String[] args) {
	}
	
	public static void run() {
	}
	
	public static void PD() {
		pointer--;
	}
	public static void PI() {
		pointer++;
	}
	public static void CD() {
		cell[pointer]--;
	}
	public static void CI() {
		cell[pointer]++;
	}
	public static void OC() {
		byte c = cell[pointer];
		byte[] b = {c};
		try {
			String str = new String(b, "ASCII");
			System.out.print(str);
		} catch (UnsupportedEncodingException e) {
			// TODO Auto-generated catch block
			e.printStackTrace();
		}
	}
}
